<?php
class RCMSResponse {

	protected $contents = array();
	protected $templateName;

	public function getContents() {
		return $this->contents;
	}
	public function setContents($contents){
		$this->contents = $contents;
	}

	public function setContent($name,$value) {
		$this->contents[$name] = $value;
	}
	public function getContent($name) {
		return isset($this->contents[$name]) ? $this->contents[$name] : '';
	}
	public function isContent($name) {
		return isset($this->contents[$name]);
	}

	public function setTemplateName($name) {
		$this->templateName = $name;
	}
	public function getTemplateName() {
		return 	$this->templateName;
	}
}